<%@page isELIgnored="false" import="java.net.*" %>
<%@taglib prefix="tiles" uri="struts-tiles" %>
<%@taglib prefix="html" uri="struts-html" %>
<%@taglib prefix="bean" uri="struts-bean" %>
<%@taglib prefix="c" uri="jstl" %>
<%@taglib prefix="fn" uri="jstl-fn" %>
					
<div id="bodyContent">
						<h1>Nuevo Material Para Asset</h1>
						
						<html:form enctype="multipart/form-data" action='/MaterialAgregarRegistrar' method='post'>
						<html:hidden property="cveAsset" value="${Asset}" />
						<html:hidden property="page" value="2" />
						<div onclick="location.href='${URLBase}Assets.do';" style="display: inline; color: blue; font-size: 12px;" onmouseover="this.style.textDecoration='underline';this.style.cursor='pointer';" onmouseout="this.style.textDecoration='none';this.style.cursor='default';" >Assets</div><div style="display: inline; color: black; font-size: 12px;" > > </div>
<!--						<div style="display: inline; color: black; font-size: 12px;"  >Nuevo Material</div>-->
						<br/>
						<br/>
						<center>
						<div class='errors'>
						<html:errors/>
						<br/>
						${UserLogin.messageError}
						</div>
						
						<table class="TablaCatalogosNuevoTipoCuenta">
							<thead>
								<tr>
									<th>
										Nuevo Material
									</td>
								</tr>
							</thead>
							<tr>
								<td>
									<br/>
									<table class='TablaCatalogosFields' border="0">
										<tr>
											<td class='TDLabel'>
<!--												<bean:message key="com.mastercard.assets.web.modules.forms.add.labels.Nombre" />-->
                                                                                                Nombre:  ${Asset}  
											</td>
											<td class='TDField'>
												<html:text property="nombre" styleClass='TextField' />
											</td>
										</tr>
										<tr>
											<td class='TDLabel'>
<!--												<bean:message key="com.mastercard.assets.web.modules.forms.add.labels.Descripcion" />-->
                                                                                                Desripci&oacute;n:
											</td>
											<td class='TDField'>
												<html:text property="descripcion" styleClass='TextField' />
											</td>
										</tr>
																				
										<tr>
											<td class='TDField' colspan="2" >
												&nbsp;&nbsp;Documento<!--<bean:message key="com.mastercard.assets.web.modules.forms.add.labels.ArchivoForma" />-->
												<br/>
												&nbsp;&nbsp;<html:file property="archivoForma" styleClass='TextFieldFile' />
											</td>
										</tr>
										<tr>
											<td colspan='2' class='TDButton'>
												<html:submit value='Crear' styleClass="ButtonSubmit" />
											</td>
										</tr>
									</table>
								</td>
							</tr>
						</table>
						</center>
						</html:form>
					</div>
					<div id="footContent"></div>